UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The Photon operating system must configure sshd to perform strict mode checking of home directory configuration files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239157 PHTN-67-000086 SV-239157r675279_rule Medium
Description
If other users have access to modify user-specific SSH configuration files, they may be able to log on to the system as another user.
STIG Date
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide 2022-09-27

Details

Check Text ( C-42368r675277_chk )
At the command line, execute the following command:

# sshd -T|&grep -i StrictModes

Expected result:

StrictModes yes

If the output does not match the expected result, this is a finding.
Fix Text (F-42327r675278_fix)
Open /etc/ssh/sshd_config with a text editor.

Ensure that the "StrictModes" line is uncommented and set to the following:

StrictModes yes

At the command line, execute the following command:

# service sshd reload